package cn.iocoder.yudao.module.member.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * Member 错误码枚举类
 *
 * member 系统，使用 1-004-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== 企业相关  1004002000============
    ErrorCode COMPANY_NOT_EXISTS = new ErrorCode(1004050000, "企业不存在");
    ErrorCode RECRUIT_COMPANY_NOT_EXISTS = new ErrorCode(1004050001, "招聘企业不存在");
    ErrorCode COMPANY_IS_AUTHORIZED = new ErrorCode(1004050002, "企业已经认证");
    ErrorCode COMPANY_IS_EXISTS = new ErrorCode(1004050003, "企业已存在");

    ErrorCode PRAXIS_PROJECT_TYPE_NOT_EXISTS = new ErrorCode(1104050011, "类型不存在");
    ErrorCode PRAXIS_PROJECT_SCHEDULE_NOT_EXISTS = new ErrorCode(1104050012, "赛程不存在");
    ErrorCode PRAXIS_PROJECT_NOT_EXISTS = new ErrorCode(1104050013, "项目不存在");
    ErrorCode PRAXIS_PROJECT_ENTRY= new ErrorCode(1104050015, "报名阶段已结束,不能修改类型");
    ErrorCode PRAXIS_PROJECT_RESULT_NOT_EXISTS = new ErrorCode(1104050014, "项目结果不存在");
    ErrorCode PRAXIS_PROJECT_RESULT_EXISTS = new ErrorCode(1104050016, "该项目结果公示已存在");
    ErrorCode PRAXIS_PROJECT_NOT_DOUBLE= new ErrorCode(1104050017, "项目赛程已存在,不能重复添加");
    ErrorCode PRAXIS_PROJECT_CHOSE= new ErrorCode(1104050018, "请勿重复登录");
    ErrorCode PRAXIS_PROJECT_ENTRY_EXIST= new ErrorCode(1104050019, "已入选,不能重复添加");
    ErrorCode PRAXIS_PROJECT_SCHEDULE_END= new ErrorCode(1104050020, "项目赛程未开始或已结束,不能操作");
    ErrorCode PRAXIS_PROJECT_SCHEDULE_CLOSE_END= new ErrorCode(1104050021, "上传资料截止时间已过,不能操作");
    ErrorCode PRAXIS_PROJECT_ENTRY_NOTNULL= new ErrorCode(1104050030, "上传资料截止时间已过,不能操作");
    // ========== 用户简历相关  1004051000============
    ErrorCode STUDENT_CURRICULUM_VITAE_NOT_EXISTS = new ErrorCode(1004051021, "用户简历不存在");

    ErrorCode STUDENT_CURRICULUM_VITAE_SEND_IS_EXISTS = new ErrorCode(1004053022, "简历已经投递");
    ErrorCode STUDENT_NOT_EXIST = new ErrorCode(1004053023, "该手机号未注册");
    ErrorCode STUDENT_NO_AUTH = new ErrorCode(1004053024, "该队员未身份认证，请先认证");
    ErrorCode STUDENT_ALREAD_ENTRY = new ErrorCode(1004053025, "该队员已个人/团队报名，无法再次参加");

    // ========== 用户简历教育经历 1004053001 ==========
    ErrorCode STUDENT_EDUCATIONAL_EXPERIENCE_NOT_EXISTS = new ErrorCode(1004053026, "用户简历教育经历不存在");
    // ========== 用户相关  1004001000============
    ErrorCode USER_NOT_EXISTS = new ErrorCode(1004001027, "用户不存在");
    ErrorCode USER_PASSWORD_FAILED = new ErrorCode(1004001028, "密码校验失败");

// ========== 新闻栏目(成果类型) TODO 补充编号 ==========
    ErrorCode NEWS_STUDY_TYPE_NOT_EXISTS = new ErrorCode(1004001029, "新闻栏目(成果类型)不存在");

    ErrorCode NEWS_STUDY_INFO_NOT_EXISTS = new ErrorCode(1004008030, "新闻信息(成果信息)不存在");

    ErrorCode JOB_VIEW_NOT_EXISTS = new ErrorCode(1004008031, "浏览记录不存在");



    // ========== AUTH 模块 1004003000 ==========
    ErrorCode AUTH_LOGIN_BAD_CREDENTIALS = new ErrorCode(1004003000, "登录失败，账号密码不正确");
    ErrorCode AUTH_LOGIN_USER_EXIST = new ErrorCode(1004003006, "手机号已存在");
    ErrorCode AUTH_LOGIN_USER_DISABLED = new ErrorCode(1004003001, "登录失败，账号被禁用");
    ErrorCode AUTH_LOGIN_FAIL_UNKNOWN = new ErrorCode(1004003002, "登录失败"); // 登录失败的兜底，未知原因
    ErrorCode AUTH_TOKEN_EXPIRED = new ErrorCode(1004003004, "Token 已经过期");
    ErrorCode AUTH_THIRD_LOGIN_NOT_BIND = new ErrorCode(1004003005, "未绑定账号，需要进行绑定");

    // ========== 访问记录 1004004001 ==========
    ErrorCode COMPANY_ACCESS_COUNT_NOT_EXISTS = new ErrorCode(1004004001, "访问记录不存在");
    // ========== 简历投递记录 1004005001  ==========
    ErrorCode CURRICULUM_VITAE_SEND_RECORD_NOT_EXISTS = new ErrorCode(1004005001, "简历投递记录不存在");
    ErrorCode CURRICULUM_VITAE_SEND_RECORD_IS_EXISTS = new ErrorCode(1004005002, "简历已投递");


    // ========== 招聘职位 1004006001 ==========
    ErrorCode JOB_NOT_EXISTS = new ErrorCode(1004006001, "招聘职位不存在");
    ErrorCode  JOB_IMPORT_IS_EXISTS= new ErrorCode(1004006001, "导入招聘职位不能为空");
    // ========== id集合不存在 1000000002 ==========
    ErrorCode IDS_NOT_EXISTS = new ErrorCode(1000000002, "id集合不存在");

    // ========== 面试邀约 1004007001 ==========
    ErrorCode INTERVIEW_INVITE_NOT_EXISTS = new ErrorCode(1004007001, "面试邀约不存在");
    // ========== 学生管理 1004008001 ==========
    ErrorCode STUDENT_NOT_EXISTS = new ErrorCode(1004008001, "学生用户不存在");

   // ========== 学生风采 1004008001 ==========
   ErrorCode STUDENT_SHOW_NOT_EXISTS = new ErrorCode(1004008001, "学生风采不存在");

   // ========== banner管理 1004008002 ==========
   ErrorCode BANNER_NOT_EXISTS = new ErrorCode(1004008002, "banner管理不存在");

}
